package com.github.pojo;

import lombok.Data;

@Data
public class ResStatus extends Status {
    private int resp_action;

    public ResStatus(int status, String msg, int resp_action) {
        super(status, msg);
        this.resp_action = resp_action;
    }

    public static ResStatus success(int resp_action) {
        return new ResStatus(com.github.util.Status.SUCCESS.getStatus(), "成功", resp_action);
    }
}
